package com.tian.strategy;

import com.tian.dto.ChargeCouponRespDto;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * {@code @description:} 满减
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-11-19 22:20
 * {@code @version:} 1.0
 */
@Service
public class CalculateDiscountAmount4FullReduceServiceImpl implements CalculateDiscountAmountService {
    @Override
    public BigDecimal calculateDiscountAmount(BigDecimal totalAmount, BigDecimal couponFaceAmount) {
        return couponFaceAmount;
    }
}
